//
//  KABMallHeaderCRView.h
//  kabu
//
//  Created by XiangDongMBP on 2017/2/17.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class KABMallHeaderCRView;
@protocol KABMallHeaderCRViewDelegate <NSObject>
@optional
- (void)kABMallHeaderCRView:(KABMallHeaderCRView *)crView didSelectAtIndex:(NSUInteger)index;
- (void)kABMallHeaderCRView:(KABMallHeaderCRView *)crView navViewTapped:(UIView *)view;
@end

@class GGBannerView;
@class KABMallBannerList;
@interface KABMallHeaderCRView : UICollectionReusableView

@property (weak, nonatomic) IBOutlet GGBannerView *bannerView;
@property (weak, nonatomic) IBOutlet UIView *navBgView;

@property (weak, nonatomic) id<KABMallHeaderCRViewDelegate>delegate;

- (void)configViewWithItem:(KABMallBannerList *)banner;
- (void)bannerViewStartScroll;
- (void)bannerViewStopScroll;

@end
